package com.sl.biz.modular.group.service;

import cn.hutool.core.lang.tree.Tree;
import com.sl.biz.modular.group.controller.domain.request.SquareLakeGroupAddRequest;
import com.sl.biz.modular.group.controller.domain.request.SquareLakeGroupDeleteByIdRequest;
import com.sl.biz.modular.group.controller.domain.request.SquareLakeGroupGetByIdRequest;
import com.sl.biz.modular.group.controller.domain.request.SquareLakeGroupUpdateRequest;
import com.sl.biz.modular.group.domain.dto.BizSquareLakeGroupDTO;

import java.util.List;

public interface SquareLakeGroupBizService {
    List<Tree<String>> tree(String relationTypeCode, String productId);

    String add(SquareLakeGroupAddRequest addRequest);

    Boolean updateById(SquareLakeGroupUpdateRequest addRequest);

    Boolean deleteById(SquareLakeGroupDeleteByIdRequest addRequest);

    BizSquareLakeGroupDTO getById(SquareLakeGroupGetByIdRequest addRequest);

}
